package com.rightsidetech.activity.mapper;


import com.rightsidetech.activity.entity.MtActivityRuleDetail;
import com.rightsidetech.activity.entity.MtActivityRuleDetailWithBLOBs;
import org.apache.ibatis.annotations.Param;

public interface MtActivityRuleDetailMapper {
    int deleteByPrimaryKey(Long id);

    int insert(MtActivityRuleDetailWithBLOBs record);

    int insertSelective(MtActivityRuleDetailWithBLOBs record);

    MtActivityRuleDetailWithBLOBs selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(MtActivityRuleDetailWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(MtActivityRuleDetailWithBLOBs record);

    int updateByActId(MtActivityRuleDetailWithBLOBs record);

    int updateByPrimaryKey(MtActivityRuleDetail record);

    String selectReqById(Long activityId);

    int deleteByActId(Long activityId);

    String selectDetailByActId(@Param("actId") Long actId);
}